package eu.dominicum.ft.pd.mao;

import eu.dominicum.ft.pd.ProfessionalCyclist;

import javax.inject.Named;
import javax.validation.constraints.NotNull;

/**
 * Method Arguments Object for method {@link eu.dominicum.ft.pd.TeamMember#associateRider(AssociateRiderMAO)}.
 *
 * @author Harry Klerks
 * @since 2013M1
 */
@Named
public final class AssociateRiderMAO {

    /**
     * Rider to be associated.
     */
    @NotNull
    private ProfessionalCyclist rider;

    /**
     * .
     *
     * @return ProfessionalCyclist
     */
    public ProfessionalCyclist getRider() {
        return rider;
    }

    /**
     * .
     *
     * @param newRider -
     */
    public void setRider(final ProfessionalCyclist newRider) {
        this.rider = newRider;
    }
}
